import Effects

class BasicAttack(object):
    def __init__(self, target):
        self.target = target
    def perform(self, source, battlespace):
        #print '%s is attacking %s' % (source.name, self.target.name)
        battlespace.effects.append(Effects.PerformAttack(source))
        battlespace.effects.append(Effects.TakeDamage(self.target,1))